﻿<html>
<head>
    <title>Download</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta http-equiv="imagetoolbar" content="no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet">
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet">
    <link href="Download_files/axurerp_pagespecificstyles.css" type="text/css" rel="stylesheet">
<!--[if IE 6]>
    <link href="Download_files/axurerp_pagespecificstyles_ie6.css" type="text/css" rel="stylesheet">
<![endif]-->
    <script src="data/sitemap.js"></script>
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/axutils.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/axurerp_beforepagescript.js"></script>
    <script src="resources/scripts/messagecenter.js"></script>
<script src='Download_files/data.js'></script>
</head>
<body>
<div id="main_container">

<div id="u0" class="u0_container"   >
<div id="u0_img" class="u0_normal detectCanvas"></div>
<div id="u1" class="u1"  >
<div id="u1_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">DownloadTask</span></p></div>
</div>
</div>
<div id="u2" class="u2_container"   >
<div id="u2_img" class="u2_normal detectCanvas"></div>
<div id="u3" class="u3"  >
<div id="u3_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">path</span></p><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">(from </span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">DownloadTask</span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">)</span></p></div>
</div>
</div>
<div id="u4" class="u4_container"   >
<div id="u4_img" class="u4_normal detectCanvas"></div>
<div id="u5" class="u5"  >
<div id="u5_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Is the task valid?</span></p></div>
</div>
</div>
<DIV id="u6c0" class="u6c0" ></DIV>

<DIV id="u6container" style="position:absolute; left:630px; top:90px; width:1px; height:1px;; overflow:visible">

<div id="u7" class="u7" style="visibility:hidden;"  >
<div id="u7_rtf"></div>
</div>
</DIV>
<DIV id="u8c0" class="u8c0" ></DIV>

<DIV id="u8container" style="position:absolute; left:630px; top:210px; width:1px; height:1px;; overflow:visible">

<div id="u9" class="u9"  >
<div id="u9_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Yes</span></p></div>
</div>
</DIV>
<div id="u10" class="u10_container"   >
<div id="u10_img" class="u10_normal detectCanvas"></div>
<div id="u11" class="u11"  >
<div id="u11_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Throw Exception</span></p></div>
</div>
</div>
<DIV id="u12c0" class="u12c0" ></DIV>

<DIV id="u12container" style="position:absolute; left:690px; top:175px; width:1px; height:1px;; overflow:visible">

<div id="u13" class="u13"  >
<div id="u13_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">No</span></p></div>
</div>
</DIV>
<div id="u14" class="u14_container"   >
<div id="u14_img" class="u14_normal detectCanvas"></div>
<div id="u15" class="u15"  >
<div id="u15_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Is the path valid?</span></p></div>
</div>
</div>
<DIV id="u16c0" class="u16c0" ></DIV>

<DIV id="u16container" style="position:absolute; left:630px; top:330px; width:1px; height:1px;; overflow:visible">

<div id="u17" class="u17" style="visibility:hidden;"  >
<div id="u17_rtf"></div>
</div>
</DIV>
<div id="u18" class="u18_container"   >
<div id="u18_img" class="u18_normal detectCanvas"></div>
<div id="u19" class="u19"  >
<div id="u19_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">generate</span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;"> the path</span></p></div>
</div>
</div>
<DIV id="u20c0" class="u20c0" ></DIV>

<DIV id="u20c1" class="u20c1" ></DIV>

<DIV id="u20container" style="position:absolute; left:690px; top:415px; width:1px; height:1px;; overflow:visible">

<div id="u21" class="u21"  >
<div id="u21_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">No</span></p></div>
</div>
</DIV>
<DIV id="u22c0" class="u22c0" ></DIV>

<DIV id="u22container" style="position:absolute; left:630px; top:450px; width:1px; height:1px;; overflow:visible">

<div id="u23" class="u23"  >
<div id="u23_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Y</span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">es</span></p></div>
</div>
</DIV>
<div id="u24" class="u24_container"   >
<div id="u24_img" class="u24_normal detectCanvas"></div>
<div id="u25" class="u25"  >
<div id="u25_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Is the parent dir of the path exist?</span></p></div>
</div>
</div>
<DIV id="u26c0" class="u26c0" ></DIV>

<DIV id="u26c1" class="u26c1" ></DIV>

<DIV id="u26container" style="position:absolute; left:850px; top:510px; width:1px; height:1px;; overflow:visible">

<div id="u27" class="u27" style="visibility:hidden;"  >
<div id="u27_rtf"></div>
</div>
</DIV>
<div id="u28" class="u28_container"   >
<div id="u28_img" class="u28_normal detectCanvas"></div>
<div id="u29" class="u29"  >
<div id="u29_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Is the file with the path exist?</span></p></div>
</div>
</div>
<DIV id="u30c0" class="u30c0" ></DIV>

<DIV id="u30container" style="position:absolute; left:630px; top:570px; width:1px; height:1px;; overflow:visible">

<div id="u31" class="u31"  >
<div id="u31_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Yes</span></p><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;text-decoration:none;">&nbsp;</span></p></div>
</div>
</DIV>
<div id="u32" class="u32_container"   >
<div id="u32_img" class="u32_normal detectCanvas"></div>
<div id="u33" class="u33"  >
<div id="u33_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">create the dir with mkdir</span></p></div>
</div>
</div>
<DIV id="u34c0" class="u34c0" ></DIV>

<DIV id="u34container" style="position:absolute; left:570px; top:535px; width:1px; height:1px;; overflow:visible">

<div id="u35" class="u35"  >
<div id="u35_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">No</span></p></div>
</div>
</DIV>
<div id="u36" class="u36_container"   >
<div id="u36_img" class="u36_normal detectCanvas"></div>
<div id="u37" class="u37"  >
<div id="u37_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Is the parent dir of the path exist?</span></p></div>
</div>
</div>
<DIV id="u38c0" class="u38c0" ></DIV>

<DIV id="u38container" style="position:absolute; left:390px; top:565px; width:1px; height:1px;; overflow:visible">

<div id="u39" class="u39" style="visibility:hidden;"  >
<div id="u39_rtf"></div>
</div>
</DIV>
<DIV id="u40c0" class="u40c0" ></DIV>

<DIV id="u40container" style="position:absolute; left:450px; top:665px; width:1px; height:1px;; overflow:visible">

<div id="u41" class="u41"  >
<div id="u41_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Yes</span></p></div>
</div>
</DIV>
<div id="u42" class="u42_container"   >
<div id="u42_img" class="u42_normal detectCanvas"></div>
<div id="u43" class="u43"  >
<div id="u43_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Throw Exception</span></p></div>
</div>
</div>
<DIV id="u44c0" class="u44c0" ></DIV>

<DIV id="u44container" style="position:absolute; left:330px; top:665px; width:1px; height:1px;; overflow:visible">

<div id="u45" class="u45" style="visibility:hidden;"  >
<div id="u45_rtf"></div>
</div>
</DIV>
<div id="u46" class="u46_container"   >
<div id="u46_img" class="u46_normal detectCanvas"></div>
<div id="u47" class="u47"  >
<div id="u47_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">get the range and cursize from the file</span></p></div>
</div>
</div>
<DIV id="u48c0" class="u48c0" ></DIV>

<DIV id="u48container" style="position:absolute; left:630px; top:700px; width:1px; height:1px;; overflow:visible">

<div id="u49" class="u49"  >
<div id="u49_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Yes</span></p></div>
</div>
</DIV>
<div id="u50" class="u50_container"   >
<div id="u50_img" class="u50_normal detectCanvas"></div>
<div id="u51" class="u51"  >
<div id="u51_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">create the </span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">file</span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">&nbsp;</span></p></div>
</div>
</div>
<DIV id="u52c0" class="u52c0" ></DIV>

<DIV id="u52container" style="position:absolute; left:690px; top:665px; width:1px; height:1px;; overflow:visible">

<div id="u53" class="u53"  >
<div id="u53_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">No</span></p></div>
</div>
</DIV>
<div id="u54" class="u54_container"   >
<div id="u54_img" class="u54_normal detectCanvas"></div>
<div id="u55" class="u55"  >
<div id="u55_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Is the file with the path exist?</span></p></div>
</div>
</div>
<DIV id="u56c0" class="u56c0" ></DIV>

<DIV id="u56container" style="position:absolute; left:850px; top:695px; width:1px; height:1px;; overflow:visible">

<div id="u57" class="u57" style="visibility:hidden;"  >
<div id="u57_rtf"></div>
</div>
</DIV>
<DIV id="u58c0" class="u58c0" ></DIV>

<DIV id="u58container" style="position:absolute; left:790px; top:810px; width:1px; height:1px;; overflow:visible">

<div id="u59" class="u59"  >
<div id="u59_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Yes</span></p></div>
</div>
</DIV>
<div id="u60" class="u60_container"   >
<div id="u60_img" class="u60_normal detectCanvas"></div>
<div id="u61" class="u61"  >
<div id="u61_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Throw Exception</span></p></div>
</div>
</div>
<DIV id="u62c0" class="u62c0" ></DIV>

<DIV id="u62container" style="position:absolute; left:910px; top:810px; width:1px; height:1px;; overflow:visible">

<div id="u63" class="u63" style="visibility:hidden;"  >
<div id="u63_rtf"></div>
</div>
</DIV>
<div id="u64" class="u64_container"   >
<div id="u64_img" class="u64_normal detectCanvas"></div>
<div id="u65" class="u65"  >
<div id="u65_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">create the HttpURLConnection</span><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">,set the range</span></p></div>
</div>
</div>
<DIV id="u66c0" class="u66c0" ></DIV>

<DIV id="u66container" style="position:absolute; left:630px; top:840px; width:1px; height:1px;; overflow:visible">

<div id="u67" class="u67" style="visibility:hidden;"  >
<div id="u67_rtf"></div>
</div>
</DIV>
<div id="u68" class="u68_container"   >
<div id="u68_img" class="u68_normal detectCanvas"></div>
<div id="u69" class="u69"  >
<div id="u69_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">connect and download</span></p></div>
</div>
</div>
<DIV id="u70c0" class="u70c0" ></DIV>

<DIV id="u70container" style="position:absolute; left:630px; top:970px; width:1px; height:1px;; overflow:visible">

<div id="u71" class="u71" style="visibility:hidden;"  >
<div id="u71_rtf"></div>
</div>
</DIV>
<div id="u72" class="u72_container"   >
<div id="u72_img" class="u72_normal detectCanvas"></div>
<div id="u73" class="u73"  >
<div id="u73_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Successful?</span></p></div>
</div>
</div>
<DIV id="u74c0" class="u74c0" ></DIV>

<DIV id="u74container" style="position:absolute; left:630px; top:1100px; width:1px; height:1px;; overflow:visible">

<div id="u75" class="u75" style="visibility:hidden;"  >
<div id="u75_rtf"></div>
</div>
</DIV>
<div id="u76" class="u76_container"   >
<div id="u76_img" class="u76_normal detectCanvas"></div>
<div id="u77" class="u77"  >
<div id="u77_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">notify the ui</span></p></div>
</div>
</div>
<div id="u78" class="u78_container"   >
<div id="u78_img" class="u78_normal detectCanvas"></div>
<div id="u79" class="u79"  >
<div id="u79_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Throw Exception</span></p></div>
</div>
</div>
<DIV id="u80c0" class="u80c0" ></DIV>

<DIV id="u80container" style="position:absolute; left:690px; top:1185px; width:1px; height:1px;; overflow:visible">

<div id="u81" class="u81"  >
<div id="u81_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">No</span></p></div>
</div>
</DIV>
<DIV id="u82c0" class="u82c0" ></DIV>

<DIV id="u82container" style="position:absolute; left:630px; top:1220px; width:1px; height:1px;; overflow:visible">

<div id="u83" class="u83"  >
<div id="u83_rtf"><p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Yes</span></p></div>
</div>
</DIV>
</div>
<div class="preload"><img src="Download_files/u0_normal.png" width="1" height="1"/><img src="Download_files/u4_normal.png" width="1" height="1"/><img src="Download_files/u6c0.png" width="1" height="1"/><img src="Download_files/u8c0.png" width="1" height="1"/><img src="Download_files/u12c0.png" width="1" height="1"/><img src="Download_files/u16c0.png" width="1" height="1"/><img src="Download_files/u20c0.png" width="1" height="1"/><img src="Download_files/u20c1.png" width="1" height="1"/><img src="Download_files/u22c0.png" width="1" height="1"/><img src="Download_files/u26c0.png" width="1" height="1"/><img src="Download_files/u26c1.png" width="1" height="1"/><img src="Download_files/u30c0.png" width="1" height="1"/><img src="Download_files/u34c0.png" width="1" height="1"/><img src="Download_files/u38c0.png" width="1" height="1"/><img src="Download_files/u40c0.png" width="1" height="1"/><img src="Download_files/u44c0.png" width="1" height="1"/><img src="Download_files/u48c0.png" width="1" height="1"/><img src="Download_files/u52c0.png" width="1" height="1"/><img src="Download_files/u56c0.png" width="1" height="1"/><img src="Download_files/u58c0.png" width="1" height="1"/><img src="Download_files/u62c0.png" width="1" height="1"/><img src="Download_files/u66c0.png" width="1" height="1"/><img src="Download_files/u70c0.png" width="1" height="1"/><img src="Download_files/u74c0.png" width="1" height="1"/><img src="Download_files/u80c0.png" width="1" height="1"/><img src="Download_files/u82c0.png" width="1" height="1"/></div>
</body>
<script src="resources/scripts/axurerp_pagescript.js"></script>
<script src="Download_files/axurerp_pagespecificscript.js" charset="utf-8"></script>